﻿﻿@model BeanModel
@{    
    //page title
    ViewBag.Title = "Edit Bean";
}
@using (Html.BeginForm())
{
    <div class="section-header">
        <div class="title">
            <img src="@Url.Content("~/Administration/Content/images/ico-content.png")" alt="" />
            Edit Bean - @Model.Name @Html.ActionLink("(Back to bean list)", "BeanList")
        </div>
        <div class="options">
            <input type="submit" name="save" class="t-button" value="@T("Admin.Common.Save")" />
            <input type="submit" name="save-continue" class="t-button" value="@T("Admin.Common.SaveContinue")" />
            <span id="bean-delete" class="t-button">@T("Admin.Common.Delete")</span>
        </div>
    </div>
    @Html.Partial("_CreateOrUpdateBean", Model)
}
@Html.DeleteConfirmation("BeanDelete", "bean-delete")